<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class AdminPermissionsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('admin_permissions')->delete();
        
        \DB::table('admin_permissions')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => '系统管理',
                'tag' => 'sys',
                'parent_id' => NULL,
                'remark' => NULL,
                'created_at' => '2021-07-15 16:38:08',
                'updated_at' => '2021-07-15 16:38:08',
            ),
            1 => 
            array (
                'id' => 2,
                'name' => '人员',
                'tag' => 'sys.admin-user',
                'parent_id' => 1,
                'remark' => NULL,
                'created_at' => '2021-07-15 16:38:43',
                'updated_at' => '2021-07-15 16:38:43',
            ),
            2 => 
            array (
                'id' => 3,
                'name' => '角色',
                'tag' => 'sys.role',
                'parent_id' => 1,
                'remark' => NULL,
                'created_at' => '2021-07-15 16:38:26',
                'updated_at' => '2021-07-15 16:38:26',
            ),
        ));
        
        
    }
}